package com.rd.student.wulian.wanggaobo.day0803;

public class Dog extends Animal {
    private String furColor;

    public Dog(String name, String furColor) {
        super(name);
        this.furColor = furColor;
    }

    @Override
    public void enjoy() {
        System.out.println(name + "叫一叫");
    }

    @Override
    public void voice() {
        System.out.println("汪汪");
    }
}
